﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Paradox.Models;
using Paradox.Models.DataModels;

namespace Paradox.Models.ViewModels
{
    
    public class FullStoryViewModel
    {
        private List<Story> story;
        private IQueryable<Comment> comments;
        private IQueryable<Tag> tags;

        internal FullStoryViewModel(List<Story> story, List<Comment> comments, List<Tag> tags)
        {
            this.storyitem = story.Take(1).ToList();
            this.commentlist = comments;
            this.taglist = tags;


        }

        public FullStoryViewModel(List<Story> story, IQueryable<Comment> comments, IQueryable<Tag> tags)
        {
           
            this.story = story;
            this.comments = comments;
            this.tags = tags;
        }

        public List<Story> storyitem { get; private set; }
        public List<Comment> commentlist { get; private set; }
        public List<Tag> taglist { get; private set; }
    }


}